package com.chixing.day17_reflect_thread.thread;

public class TestChar {
    public static void main(String[] args) {
        int a;

        String threadName = Thread.currentThread().getName();//main
        System.out.println(threadName);


        CharThread charThread = new CharThread();//初始化线程
        NumberThread numberThread = new NumberThread();
        OddNumber oddNumber = new OddNumber();
        EvenNumber evenNumber = new EvenNumber();
        charThread.start();//启动线程
        numberThread.start();//启动线程
        oddNumber.start();
        evenNumber.start();
    }
}
